package com.ysd.entity;

/**
 * 管理员类
 * @author dzj20
 *
 */
public class Admin {
	private Integer adminId; // 管理员ID
	private String adminName; // 管理员帐号
	private String password; // 密码
	// 下面的备用的
	private Integer ext1; // 不用管.默认null即可
	private String ext2; // 不用管.默认null即可

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getExt1() {
		return ext1;
	}

	public void setExt1(Integer ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public Admin(Integer adminId, String adminName, String password, Integer ext1, String ext2) {
		super();
		this.adminId = adminId;
		this.adminName = adminName;
		this.password = password;
		this.ext1 = ext1;
		this.ext2 = ext2;
	}

	public Admin() {
		super();
	}

	@Override
	public String toString() {
		return "Admin [adminId=" + adminId + ", adminName=" + adminName + ", password=" + password + ", ext1=" + ext1
				+ ", ext2=" + ext2 + "]";
	}

}
